package Dao.impl;

import Dao.Student;

import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class StudentImpl implements Student {
    private String name;
    private Integer age;
    private Integer arry[];
    private Map<String,String> map;
    private List<String> list;

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void setArry(Integer[] arry) {
        this.arry = arry;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    @Override
    public void save() {
        System.out.println("我是:"+name+",年龄:"+age);
        System.out.println("list集合："+list);
        System.out.println("map集合："+map);
        System.out.println("arry集合："+ Arrays.toString(arry));
    }
}
